/*
 * Copyright (C) 2018 Zhejiang xiaominfo Technology CO.,LTD.
 * All rights reserved.
 * Official Web Site: http://www.xiaominfo.com.
 * Developer Web Site: http://open.xiaominfo.com.
 */

package com.github.xiaoymin.map.common;

/**
 * 基础枚举类
 * @author <a href="mailto:xiaoymin@foxmail.com">xiaoymin@foxmail.com</a>
 * 2020/09/21 13:16
 * @since:map-client 1.0
 */
public class MapClientConstants {

    /**
     * 逆地理编码API服务地址
     * 接口地址:https://restapi.amap.com/v3/geocode/regeo?parameters
     */
    public static final String AMAP_API_REGEO="https://restapi.amap.com/v3/geocode/regeo?";
    /**
     * 坐标系转换
     * https://lbs.amap.com/api/webservice/guide/api/convert
     */
    public static final String AMP_API_COORD_CONVERT="https://restapi.amap.com/v3/assistant/coordinate/convert?";
    /**
     * ip地址定位
     */
    public static final String AMP_API_IP_LOCATION="https://restapi.amap.com/v3/ip?";
    /**
     * 行政区划查询
     * https://lbs.amap.com/api/webservice/guide/api/district
     */
    public static final String AMP_API_DISTRICT_QUERY="https://restapi.amap.com/v3/config/district?";




    /**
     * 高德地图多个元素链接符号
     */
    public static final String AMAP_JOIN_ELEMENT_CHAR="|";
    /**
     * 高德接口响应成功状态码
     */
    public static final String AMAP_RESPONSE_SUCCESS="1";

    /**
     * 高德地图坐标转换最大数据量
     */
    public static final int AMAP_COORD_EXCHANGE_MAX_SIZE=40;


    /**
     * 腾讯地图逆地址API地址
     */
    public static final String TENCENT_API_REGEO="https://apis.map.qq.com/ws/geocoder/v1/?";

    /**
     * 腾讯地图接口响应成功状态码
     */
    public static final String TENCENT_RESPONSE_SUCCESS="0";

    /**
     * 腾讯地图多个元素链接符号
     */
    public static final String TENCENT_JOIN_ELEMENT_CHAR=";";

    /**
     * 腾讯地图坐标转换
     */
    public static final String TENCENT_API_COORD_CONVER="https://apis.map.qq.com/ws/coord/v1/translate?";

    /**
     * 腾讯地图ip地址定位
     */
    public static final String TENCENT_API_IP_LOCATION="https://apis.map.qq.com/ws/location/v1/ip?";

    /**
     * 通过搜索关键字获取行政区划查询
     */
    public static final String TENCENT_API_DISTRICT_QUERY="https://apis.map.qq.com/ws/district/v1/search?";


    /**
     * 百度地图逆地址API地址
     */
    public static final String BAIDU_API_REGEO="http://api.map.baidu.com/reverse_geocoding/v3/?";

    /**
     * 百度地图逆地址API地址
     */
    public static final String BAIDU_API_COORD_CONVER="http://api.map.baidu.com/geoconv/v1/?";

    /**
     * 腾讯地图多个元素链接符号
     */
    public static final String BAIDU_JOIN_ELEMENT_CHAR=";";
    /**
     * 百度地图接口响应成功状态码
     */
    public static final String BAIDU_RESPONSE_SUCCESS="0";

    /**
     * 百度地图ip地址定位
     */
    public static final String BAIDU_API_IP_LOCATION="http://api.map.baidu.com/location/ip?";



}
